//
//  HRZHomeAdService.h
//  EMarket
//
//  Created by 石头 on 2018/8/28.
//  Copyright © 2018 好日子. All rights reserved.
//

#import "HRZBaseService.h"

@class HRZHomeBigbrandModel;
@class HRZHomeHotClassifyModel;
@class HRZHomeThemeModel;
@class HRZHomeCarouselModel;
@class HRZSearchThemeGoodsModel;
@class HRZGoodsClassifyDetailModel;

@interface HRZHomeAdService : HRZBaseService


/**
 获取大牌

 @param success 成功
 @param failure 失败
 */
+ (void)getBigbrandsSuccess:(void (^)(NSArray <HRZHomeBigbrandModel *>*arr))success
                    failure:(void (^)(NSString *err))failure;


/**
 获取热门分类

 @param success 成功
 @param failure 失败
 */
+ (void)getHotClassifySuccess:(void (^)(NSArray <HRZHomeHotClassifyModel *>*arr))success
                      failure:(void (^)(NSString *err))failure;


/**
 获取主题

 @param success 成功
 @param failure 失败
 */
+ (void)getThemeSuccess:(void (^)(NSArray <HRZHomeThemeModel *>*arr))success
                failure:(void (^)(NSString *err))failure;


/**
 获取主页轮播图

 @param success 成功
 @param failure 失败
 */
+ (void)getHomeCarouselSuccess:(void (^)(NSArray <HRZHomeCarouselModel *>*arr))success
                       failure:(void (^)(NSString *err))failure;


/**
 搜索主题商品

 @param model 搜索model
 @param success 成功
 @param failure 失败
 */
+ (void)getThemeGoodsByTheme:(HRZSearchThemeGoodsModel *)model
                     success:(void (^)(NSArray <HRZGoodsClassifyDetailModel *>*arr))success
                     failure:(void (^)(NSString *err))failure;
@end
